#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	char ch;
	cin >> ch;
	cout << "  " << ch << "\n " << ch << ch << ch << "\n" << ch << ch << ch << ch << ch;
	return 0;
}
